import React from 'react';
import './index.less';
import { useSelector } from 'react-redux';
import { userSelector } from ':/store/selice/user';

const HomePage = () => {
  const user = useSelector(userSelector.selectData);
  return (
    <div className="home-page">Hello {user?.username}!</div>
  );
}

export default HomePage;